package com.zrrd.learn.chapter08.CarClass;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 汽车类
 *
 * @author asus
 * @version 1.0
 * @date 2023/7/27 14:16
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Car {

    /**
     * 属性
     */
    private String color;

    private String brand;

    private String series;


    public static void main(String[] args) {

        Car c1=new Car("红色","福特","野马");
        Car c2=new Car("蓝色","丰田","普锐斯");
        Car c3=new Car("绿色","大众","高尔夫");


    }
}
